<?php
$this->breadcrumbs=array(
	'Products'=>array('index'),
	'Create',
);

$this->menu=array(
	array('label'=>'Danh sách', 'url'=>array('admin')),
);
?>

<h1><?php echo $model->name ?></h1>

<div class="wide form">
    <div class="row" style="margin-top: 50px">
        <?php echo CHtml::label(Yii::t('main', 'Buy more products'), '') ?>
        <?php $this->renderPartial('_buy_more_list', array('model'=>$model)) ?>
    </div>
    <div class="row" style="margin-top: 50px">
        <?php echo CHtml::label(Yii::t('main', 'Same function products'), '') ?>
        <?php $this->renderPartial('_same_function_list', array('model'=>$model)) ?>
    </div>
</div>

<script type="text/javascript">
        
    function reloadGrid(id){
        $.fn.yiiGridView.update(id);
    }
</script>

